package com.example.yixueban.req.main;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

/**
 * User: Wang YiHan
 * Date: 2021/8/5 22:44
 * Email: 783096044@qq.com
 * File_Name: null.java
 **/
@Builder
@AllArgsConstructor
@Data
public class Login_Req {    //通过用户名和密码登录
    private String user_number;  //用户账号
    //@Pattern(regexp = "^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,32}$", message = "【密码】规则不正确")
    private String password;   //密码

    private String telephone;      //手机号

    private String code;    //验证码

    private String identity;   //身份  0 为用户，1为教师

}
